set the visible of card field 1 to not the visible of card field 1
if the visible of card field 1 is true then
set the name of me to "Hide LSP Source"
else set the name of me to "Show LSP Source"
end mouseUp
-- part contents for background part 16
----- text -----
LASTPATHCOMPONENT XFCN version 1.0
March 17, 1988
Kevin Calhoun
LastPathComponent takes a pathname and returns the last component of it. The last component is the string of characters following the last colon in the pathname.
Examples:
put LastPathComponent("HD:My Best Years:1962:The Drive-In")
--puts The Drive-In into the message box.
put LastPathComponent("Winkin:Blinkin:Nod") into theContainer